Optimal. Leaf size=91 \[ \frac {\sin (e+f x) \cos ^5(e+f x)}{6 a^3 c^3 f}+\frac {5 \sin (e+f x) \cos ^3(e+f x)}{24 a^3 c^3 f}+\frac {5 \sin (e+f x) \cos (e+f x)}{16 a^3 c^3 f}+\frac {5 x}{16 a^3 c^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 91, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.097, Rules used = {3522, 2635, 8} \[ \frac {\sin (e+f x) \cos ^5(e+f x)}{6 a^3 c^3 f}+\frac {5 \sin (e+f x) \cos ^3(e+f x)}{24 a^3 c^3 f}+\frac {5 \sin (e+f x) \cos (e+f x)}{16 a^3 c^3 f}+\frac {5 x}{16 a^3 c^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 2635
Rule 3522
Rubi steps
\begin {align*} \int \frac {1}{(a+i a \tan (e+f x))^3 (c-i c \tan (e+f x))^3} \, dx &=\frac {\int \cos ^6(e+f x) \, dx}{a^3 c^3}\\ &=\frac {\cos ^5(e+f x) \sin (e+f x)}{6 a^3 c^3 f}+\frac {5 \int \cos ^4(e+f x) \, dx}{6 a^3 c^3}\\ &=\frac {5 \cos ^3(e+f x) \sin (e+f x)}{24 a^3 c^3 f}+\frac {\cos ^5(e+f x) \sin (e+f x)}{6 a^3 c^3 f}+\frac {5 \int \cos ^2(e+f x) \, dx}{8 a^3 c^3}\\ &=\frac {5 \cos (e+f x) \sin (e+f x)}{16 a^3 c^3 f}+\frac {5 \cos ^3(e+f x) \sin (e+f x)}{24 a^3 c^3 f}+\frac {\cos ^5(e+f x) \sin (e+f x)}{6 a^3 c^3 f}+\frac {5 \int 1 \, dx}{16 a^3 c^3}\\ &=\frac {5 x}{16 a^3 c^3}+\frac {5 \cos (e+f x) \sin (e+f x)}{16 a^3 c^3 f}+\frac {5 \cos ^3(e+f x) \sin (e+f x)}{24 a^3 c^3 f}+\frac {\cos ^5(e+f x) \sin (e+f x)}{6 a^3 c^3 f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.06, size = 49, normalized size = 0.54 \[ \frac {45 \sin (2 (e+f x))+9 \sin (4 (e+f x))+\sin (6 (e+f x))+60 e+60 f x}{192 a^3 c^3 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [C] time = 0.43, size = 90, normalized size = 0.99 \[ \frac {{\left (120 \, f x e^{\left (6 i \, f x + 6 i \, e\right )} - i \, e^{\left (12 i \, f x + 12 i \, e\right )} - 9 i \, e^{\left (10 i \, f x + 10 i \, e\right )} - 45 i \, e^{\left (8 i \, f x + 8 i \, e\right )} + 45 i \, e^{\left (4 i \, f x + 4 i \, e\right )} + 9 i \, e^{\left (2 i \, f x + 2 i \, e\right )} + i\right )} e^{\left (-6 i \, f x - 6 i \, e\right )}}{384 \, a^{3} c^{3} f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.30, size = 72, normalized size = 0.79 \[ \frac {\frac {15 \, {\left (f x + e\right )}}{a^{3} c^{3}} + \frac {15 \, \tan \left (f x + e\right )^{5} + 40 \, \tan \left (f x + e\right )^{3} + 33 \, \tan \left (f x + e\right )}{{\left (\tan \left (f x + e\right )^{2} + 1\right )}^{3} a^{3} c^{3}}}{48 \, f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.36, size = 180, normalized size = 1.98 \[ \frac {i}{16 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )+i\right )^{2}}+\frac {5 i \ln \left (\tan \left (f x +e \right )+i\right )}{32 f \,a^{3} c^{3}}-\frac {1}{48 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )+i\right )^{3}}+\frac {5}{32 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )+i\right )}-\frac {5 i \ln \left (\tan \left (f x +e \right )-i\right )}{32 f \,a^{3} c^{3}}-\frac {i}{16 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )-i\right )^{2}}-\frac {1}{48 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )-i\right )^{3}}+\frac {5}{32 f \,a^{3} c^{3} \left (\tan \left (f x +e \right )-i\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: RuntimeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.72, size = 57, normalized size = 0.63 \[ \frac {5\,x}{16\,a^3\,c^3}+\frac {{\cos \left (e+f\,x\right )}^6\,\left (\frac {5\,{\mathrm {tan}\left (e+f\,x\right )}^5}{16}+\frac {5\,{\mathrm {tan}\left (e+f\,x\right )}^3}{6}+\frac {11\,\mathrm {tan}\left (e+f\,x\right )}{16}\right )}{a^3\,c^3\,f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.60, size = 298, normalized size = 3.27 \[ \begin {cases} \frac {\left (- 103079215104 i a^{15} c^{15} f^{5} e^{18 i e} e^{6 i f x} - 927712935936 i a^{15} c^{15} f^{5} e^{16 i e} e^{4 i f x} - 4638564679680 i a^{15} c^{15} f^{5} e^{14 i e} e^{2 i f x} + 4638564679680 i a^{15} c^{15} f^{5} e^{10 i e} e^{- 2 i f x} + 927712935936 i a^{15} c^{15} f^{5} e^{8 i e} e^{- 4 i f x} + 103079215104 i a^{15} c^{15} f^{5} e^{6 i e} e^{- 6 i f x}\right ) e^{- 12 i e}}{39582418599936 a^{18} c^{18} f^{6}} & \text {for}\: 39582418599936 a^{18} c^{18} f^{6} e^{12 i e} \neq 0 \\x \left (\frac {\left (e^{12 i e} + 6 e^{10 i e} + 15 e^{8 i e} + 20 e^{6 i e} + 15 e^{4 i e} + 6 e^{2 i e} + 1\right ) e^{- 6 i e}}{64 a^{3} c^{3}} - \frac {5}{16 a^{3} c^{3}}\right ) & \text {otherwise} \end {cases} + \frac {5 x}{16 a^{3} c^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________